package com.dai.chun.dao.dao;

import java.sql.SQLException;
import java.util.List;

import com.dai.chun.dao.model.Employee;
import com.dai.chun.util.PageSplitUtil;

public interface EmployeeDao {


	Boolean save(Employee employee) throws SQLException;

	List<Employee> listEmployee(PageSplitUtil psu);

	int findAllCount() throws SQLException;

	int delEmployee(int emp_id) throws SQLException;

	int updateEmployee(Employee employee) throws SQLException;

	Employee findEmployeeById(int emp_id);

	List<Employee> searchWage(String sql);

	Employee logIn(Employee employee);

	int changePassword(Employee employee) throws SQLException;

	List<Employee> listEmployeeByDeptId(int dept_id);

	List<Employee> listAllEmployee();

}
